﻿@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/Default.cshtml";
    <script src="~/Scripts/jquery-1.7.1.min.js"></script>
    <script src="~/Content/ckeditor/ckeditor.js"></script>
    <script type="text/javascript">
        var ckeditor;
        function createEditor(languageCode, id) {
            var edit = CKEDITOR.replace(id, { language: languageCode });

        }
        $(function () { createEditor('vi', 'txtDetail') })
    </script>
    <link href="~/Content/jquery-ui.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.10.2.js"></script>
    <script src="~/Scripts/jquery-ui.js"></script>
    <script>
        $(function ()
        {
            $("#txtDate").datepicker();
        })
    </script>
}

<h2>Create</h2>
@using (Html.BeginForm())
{
<table>
    <tr>
        <td>Ngày khởi tạo</td>
        <td><input type="text" id="txtDate" name="txtDate"/></td>
    </tr>
    <tr>
        <td>Ma mon</td>
        <td>@Html.TextBox("txtMamon")</td>
    </tr>
    <tr>
        <td>Ten mon</td>
        <td>@Html.TextBox("txtTenmon")</td>
    </tr>
    <tr>
        <td>So tiet</td>
        <td>@Html.TextBox("txtSotiet")</td>
    </tr>
    <tr>
        <td>Thu tu</td>
        <td>@Html.TextBox("txtThutu")</td>
    </tr>
    <tr>
        <td>Noi dung</td>
        <td><textarea id="Detail" Name="txtDetail"></textarea></td>
    </tr>
    <tr>
        <td>Quan ly anh</td>
        <td><input id="Images" type="text"/><input id="Browser" type="button" value="Browser Image"/></td>
    </tr>
    <tr>
        <td></td>
        <td><input  type="submit" name="Insert" value="Insert"/></td>
    </tr>
</table>
}
